define(['app'], function(app) {
	'use strict';

	//实例化方法
	var factory = function(Http) {

		//返回信息
		return {
			//获取首页数据
			get_menus: function(callback) {
				//post请求
				Http.post('home', {}, function(result) {
					//函数回调
					if(callback)
						callback(result);
				});

			},
		};
	}

	factory.$inject = ['Http'];
	return app.registerService("Mydeposit", factory);
});